<template>
  <div>
      <div>父盒子</div>
      <Son ref="fathetform"></Son>
      <button @click="btn">我是按钮</button>
  </div>
</template>
 
<script>
import Son from "./components/Son";
export default {
  components: {
    Son,
  },
  props: {},
  data() {
    return {};
  },
  methods: {
    btn() {
      this.$refs.fathetform.sonBtn();
    },
  },
};
</script>

<style scoped>
</style>